package com.mapforge.map.tools.undo.tilemapedit;

import javax.swing.ImageIcon;

import com.mapforge.map.TileMap;
import com.mapforge.map.tools.undo.UndoRedo;

public abstract class AbstractTilemapEdit extends UndoRedo {
	private TileMap tilemap;

	public AbstractTilemapEdit(TileMap tilemap, ImageIcon icon,
			String description) {
		super(icon, description);
		this.tilemap = tilemap;
	}

	public void setTilemap(TileMap tileMap) {
		this.tilemap = tileMap;
	}

	public TileMap getTilemap() {
		return tilemap;
	}
}
